
#pragma once

#include "base/core/singleton.h"
#include "Common/TableDefine.h"


class GuildescortQteCfg : public ManualSingleton <GuildescortQteCfg>
{
	friend ManualSingleton <GuildescortQteCfg>;
public:
	GuildescortQteCfg();
	~GuildescortQteCfg();
	bool Init(const char *szCfgFile, const char *szSplitChar);
	bool UnInit();
	void Clear();
	const GuildescortQteCfgInfo *GetGuildescortQteCfgInfo(int32_t qteId);
	const GuildescortQteCfgMap *GetGuildescortQteCfgMap() { return &m_GuildescortQteCfgMap; }
private:
	GuildescortQteCfgMap m_GuildescortQteCfgMap;
};

#define  g_MakeGuildescortQteCfgTable() (GuildescortQteCfg::Instance())
#define  g_GetGuildescortQteCfgTable() (GuildescortQteCfg::GetInstance())
#define  g_DelGuildescortQteCfgTable() (GuildescortQteCfg::Destroy())